//引用Vuex
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

//实例store对象
const store = new Vuex.Store({
	state: {
		textures: ["纸","布","油纸"],
		sizes: ["50cm","60cm","70cm","82cm","100cm","120cm"],
		tempSeriesDetails:{}
	},
	mutations: {
		tempSeriesDetails(state,msg){
			state.tempSeriesDetails=msg
		}
	}
})

//导出store对象
export default store